<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/Site.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/zy.all.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/font-awesome.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/amazeui.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/admin.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath }/css/zy.menu.css" />
	</head>

<body>
		<div class="dvcontent">

			<div>
				<!--tab start-->
				<div class="tabs">
						<div class="hd">
							<ul style="">
								<li style="box-sizing: initial;-webkit-box-sizing: initial;" class="on">收货单详细信息</li>
							</ul>
						</div>
					<div class="bd">
						<ul style="display: block;padding: 20px;">
							<li>
								<!--分页显示角色信息 start-->
								<div id="dv1">
									<h1>收获单基本信息</h1>
									<table class="table" id="tbRecord">
										<thead>
											<tr>
											  <th>订单编码</th>
											  <th>创建时间</th>
											  <th>入库数量</th>
											  <th>单笔收入</th>
											  <th>订单状态</th>
										      <th>备注</th>
											</tr>
										</thead>
										<tbody id="content_table_body">
												<tr>
													<td>
														${receipt.receipt_id}
													</td>
													<td>
														${receipt.receipttime}
													</td>
													<td>
														${receipt.quantity}
													</td>
													<td>
														${receipt.expenses}
													</td>
													<td>
														${receipt.status}
													</td>
													<td>
														${receipt.comment}
													</td>
												</tr>
										</tbody>
									</table>
									
									<h1>货主信息</h1>
									<table class="table" id="tbRecord">
										
										<thead>
											<tr>
											  <th>货主编码</th>
										      <th>公司名称</th>
										      <th>联系电话</th>
										      <th>地址</th>
										      <th>邮件</th>
										      <th>备注</th>
											</tr>
										</thead>
										<tbody id="content_table_body">
												<tr>
													<td>
														${storer.storer_id}
													</td>
													<td>
														${storer.company}
													</td>
													<td>
														${storer.phone}
													</td>
													<td>
														${storer.address}
													</td>
													<td>
														${storer.email}
													</td>
													<td>
														${storer.comment}
													</td>
												</tr>
										</tbody>
									</table>
									
									<h1>商品信息</h1>
									<table class="table" id="tbRecord">
										<thead>
											<tr>
											  <th>货品编码</th>
										      <th>货品名称</th>
										      <th>货品类型</th>
										      <th>重量(kg)</th>
										      <th>零售价</th>
										      <th>采购价</th>
										      <th>备注</th>
											</tr>
										</thead>
										<tbody id="content_table_body">
											<tr>
												<td>
													${sku.sku_id}
												</td>
												<td>
													${sku.name}
												</td>
												<td>
													${sku.category}
												</td>
												<td>
													${sku.weight}
												</td>
												<td>
													${sku.retailPrice}
												</td>
												<td>
													${sku.purchasePrice}
												</td>
												<td>
													${sku.comment}
												</td>
											</tr>
										</tbody>
									</table>
									
									<h1>存放库位信息</h1>
									<table class="table" id="tbRecord">
										<thead>
											<tr>
											  <th>库位编号</th>
										      <th>库位区域</th>
										      <th>堆栈限制</th>
											</tr>
										</thead>
										<tbody id="content_table_body">
											<tr>
												<td>
													${loc.loc_id}
												</td>
												<td>
													${loc.region}
												</td>
												<td>
													${loc.stacklimit}
												</td>
											</tr>
										</tbody>
									</table>
									<div class="am-u-sm-9 am-u-sm-push-3">
										<input type="button" class="am-btn am-btn-success" value="返回" onclick="window.location='${pageContext.request.contextPath }/receipt/findAll'"/>
										</br>
									</div>
								</div>
								<!--分页显示角色信息 end-->
							</li>
						</ul>
						
					</div>
				</div>
				<!--tab end-->

			</div>

			
			 <script src="${pageContext.request.contextPath }/js/jquery-1.7.2.min.js" type="text/javascript"></script>
              <script src="${pageContext.request.contextPath }/js/plugs/Jqueryplugs.js" type="text/javascript"></script>
              <script src="${pageContext.request.contextPath }/js/_layout.js"></script>
             <script src="${pageContext.request.contextPath }/js/plugs/jquery.SuperSlide.source.js"></script>
             <script type="text/javascript">function check() {
				var sel_storer = document.getElementById('sel_storer');
				var sel_loc = document.getElementById('sel_loc');
				
				 if(sel_storer.value == 0) {
					alert("请选择货主编码");
					return false;
				}else if(sel_loc.value == 0){
					alert("请选择库位编码");
					return false;
				} 
				 else {
					return true;
				} 
				
             }</script>
             
             
             
			<script>
				var num = 1;
				$(function() {

				 $(".tabs").slide({ trigger: "click" });

				});

			</script>

		</div>
	</body>


</html>